<form class="layui-form layui-form-pane form-search" action="{:sysuri()}" onsubmit="return false" method="vo" autocomplete="off">
    {if $account_show }
    <div class="layui-form-item layui-inline">
        <label class="layui-form-label">{:lang('仓库公司')}</label>
        <div class="layui-input-inline">
            <select name="account_id" lay-search class="layui-select" lay-filter="platform">

                <option value=''>-- {:lang('全部')} --</option>
                {foreach $account_arr as $id => $name}
                <option value="{$id}">{$name}.</option>
                {/foreach}
            </select>
        </div>
    </div>
    {/if}

    <div class="layui-form-item layui-inline">
        <label class="layui-form-label">{:lang('仓库名字')}</label>
        <div class="layui-input-inline">
            <select name="account_id" lay-search class="layui-select" lay-filter="platform">

                <option value=''>-- {:lang('全部')} --</option>
                {foreach $warehouse_arr as $id => $name}
                <option value="{$id}">{$name}.</option>
                {/foreach}
            </select>
        </div>
    </div>

    {if $account_show }
    <div class="layui-form-item layui-inline">
        <label class="layui-form-label">{:lang('订单公司')}</label>
        <div class="layui-input-inline">
            <select name="shop_account_id" lay-search class="layui-select" lay-filter="platform">

                <option value=''>-- {:lang('全部')} --</option>
                {foreach $company_arr as $id => $name}
                <option value="{$id}">{$name}.</option>
                {/foreach}
            </select>
        </div>
    </div>
    {/if}

    <div class="layui-form-item layui-inline">
        <label class="layui-form-label">{:lang('来自平台')}</label>
        <div class="layui-input-inline">
            <select name="platform_id" lay-search class="layui-select" lay-filter="platform">

                <option value=''>-- {:lang('全部')} --</option>
                {foreach $platform_arr as $id => $name}
                <option value="{$id}">{$name}.</option>
                {/foreach}
            </select>
        </div>
    </div>

    <div class="layui-form-item layui-inline">
        <label class="layui-form-label">{:lang('订单号')}</label>
        <div class="layui-input-inline">
            <input name="order_no" value="{$vo.order_no|default=''}" placeholder="{:lang('请输入订单号')}" class="layui-input">
        </div>
    </div>

    <div class="layui-form-item layui-inline">
        <label class="layui-form-label">{:lang('商品名字')}</label>
        <div class="layui-input-inline">
            <input name="goods_name" value="" placeholder="{:lang('商品名字')}" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item layui-inline">
        <label class="layui-form-label">{:lang('货位')}</label>
        <div class="layui-input-inline">
            <input name="location_code" value="" placeholder="{:lang('货位')}" class="layui-input">
        </div>
    </div>
    <div class="layui-form-item layui-inline">
        <label class="layui-form-label">{:lang('状态')}</label>
        <div class="layui-input-inline">
            <select name="status" lay-search class="layui-select">
                <option value=''>-- {:lang('全部')} --</option>
                {foreach $status_arr as $k => $v}
                <option value="{$k}">{$v}</option>
                {/foreach}
            </select>
        </div>
    </div>

    <div class="layui-form-item layui-inline">
        <button class="layui-btn layui-btn-primary" id="e"><i class="layui-icon">&#xe615;</i> {:lang('搜 索')}</button>
        <button class="layui-btn layui-btn-primary" type="reset"> {:lang('重置')}</button>
    </div>
</form>